﻿$().ready(function() 
{
    $("#CreatedBefore").datepicker(
    {
        showOn: 'button',
        buttonImage: '/content/images/icons/calendar.gif',
        buttonImageOnly: true
    });

    $("#CreatedAfter").datepicker(
    {
        showOn: 'button',
        buttonImage: '/content/images/icons/calendar.gif',
        buttonImageOnly: true
    });

    $("#LastVisitBefore").datepicker(
    {
        showOn: 'button',
        buttonImage: '/content/images/icons/calendar.gif',
        buttonImageOnly: true
    });

    $("#LastVisitAfter").datepicker(
    {
        showOn: 'button',
        buttonImage: '/content/images/icons/calendar.gif',
        buttonImageOnly: true
    });
});